package com.stoken.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

@Entity
public class TravelLineType implements Serializable {
	
	private static final long serialVersionUID = 1L;
    
	/**
	 * ID
	 */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY) 
	private long id;
	
	/**
	 * 类型标示
	 */
	@Column(length=10,nullable=false,unique=true)
	private String typeLabel;
	
	/**
	 * 类型名称
	 */
	@Column(length=50,nullable=false)
	private String typeName;
	
	
	
	private String baseSpare;


	public String getTypeLabel() {
		return typeLabel;
	}


	public void setTypeLabel(String typeLabel) {
		this.typeLabel = typeLabel;
	}


	public String getTypeName() {
		return typeName;
	}


	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}


	public String getBaseSpare() {
		return baseSpare;
	}


	public void setBaseSpare(String baseSpare) {
		this.baseSpare = baseSpare;
	}


	public long getId() {
		return id;
	}


	
	
	
}
